home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
By Popular Request 2.0
/
By Popular Request 2.0 (Arsenal Computer).ISO
/
amiga_3
/
ddrmb113.lha
/
Doors
/
Rexxdir
/
Stats.dd
< prev
Wrap
Text File
|
1995-06-28
|
4KB
|
102 lines
/* DreamStats V0.1 By Hydra! */
parse arg node
Options results
nodeid="DREAMREXX"node
address value nodeid
bordercol = ''
sulkucol = '
'
textcol = '
'
infocol = '
'
getuser 2
usern = result
getuser 3
group = result
getuser 27
slot = result
getuser 10
upbytes = result
getuser 11
downbytes = result
getuser 12
upfiles = result
getuser 13
downfiles = result
getuser 14
publicm = result
getuser 15
privatem = result
getuser 16
calls = result
getuser 17
fratio = result
getuser 18
bratio = result
getuser 20
freebytes = result
getuser 22
sec = result
getuser 24
access1 = result
getuser 25
access2 = result
getuser 28
timeleft = result
getuser 29
freefiles = result
transmit ""bordercol".----------------------------------------------------------------------------."
otsikko=center("Status of "usern" / "group"",74)
transmit "| "infocol""otsikko""bordercol" |"
transmit "+-------------------------------------+--------------------------------------+"
slo=center(""slot"",13)
sek=center(""sec"",13)
transmit "| "textcol"Slot number "sulkucol"["infocol""slo""sulkucol"] "bordercol"| "textcol"Access Level "sulkucol"["infocol""sek""sulkucol"] "bordercol"|"
kals=center(""calls"",13)
tleft=center(""timeleft"",13)
transmit "| "textcol"Number of calls "sulkucol"["infocol""kals""sulkucol"] "bordercol"| "textcol"Minutes Left "sulkucol"["infocol""tleft""sulkucol"] "bordercol"|"
pumess=center(""publicm"",13)
prmess=center(""privatem"",13)
transmit "| "textcol"Public Messages "sulkucol"["infocol""pumess""sulkucol"] "bordercol"| "textcol"Private Messages "sulkucol"["infocol""prmess""sulkucol"] "bordercol"|"
transmit "+-------------------------------------+--------------------------------------+"
UFF=center(""upfiles"",13)
DFF=center(""downfiles"",13)
UPB=center(""upbytes"",13)
DOB=center(""downbytes"",13)
transmit "| "textcol"Uploaded files "sulkucol"["infocol""UFF""sulkucol"] "bordercol"| "textcol"Leeched files "sulkucol"["infocol""DFF""sulkucol"] "bordercol"|"
transmit "| "textcol"Uploaded bytes "sulkucol"["infocol""UPB""sulkucol"] "bordercol"| "textcol"Leeched bytes "sulkucol"["infocol""DOB""sulkucol"] "bordercol"|"
transmit "+-------------------------------------+--------------------------------------+"
if fratio="0" then call FDISABLED
filer=center("1:"fratio"",13)
njee=upfiles*fratio-downfiles+freefiles
lablef=center(""njee"",13)
call njuu
FDISABLED:
filer = " DISABLED!!! "
lablef = " UNLIMITED!! "
njuu:
transmit "| "textcol"Fileratio "sulkucol"["infocol""filer""sulkucol"] "bordercol"| "textcol"Leechable files "sulkucol"["infocol""lablef""sulkucol"] "bordercol"|"
if bratio="0" then call BDISABLED
biler=center("1:"bratio"",13)
bjee=upbytes*bratio-downbytes+freebytes
lableb=center(""bjee"",13)
call bjuu
BDISABLED:
biler = " DISABLED!!! "
lableb = " UNLIMITED!! "
bjuu:
transmit "| "textcol"Byteratio "sulkucol"["infocol""biler""sulkucol"] "bordercol"| "textcol"Leechable bytes "sulkucol"["infocol""lableb""sulkucol"] "bordercol"|"
transmit "+-------------------------------------+--------------------------------------+"
transmit "|"textcol" Conf Access "bordercol" |"
transmit "|"sulkucol" ["infocol""access1""access2""sulkucol"] "bordercol"|"
transmit "+-------------------------------------+--------------------------------------+"
transmit "|"textcol" DreamStats V0.1 by Hydra! "bordercol"|"
transmit "`----------------------------------------------------------------------------'"
newline
shutdown
exit